﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace Graphics
{
    static class Program
    {
        static Form1 MainWindow;
        public static void IDLE(object sender, EventArgs e)
        {MainWindow.PaintSomething(); }
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            MainWindow = new Form1();
            Application.Idle += new EventHandler(IDLE);
            Application.Run(MainWindow);
        }
    }
}